#pragma once
#include "Animation.h"

class View;

class CalcAnimation :
	public Animation
{
public:
	CalcAnimation(int max_step, int grain);
	virtual ~CalcAnimation();

	void start(View* view);
	void cancel();

	int getCalc();
private:
	virtual bool step(int step_num);

	View* object_view_;
	bool is_cancel_;

	int step_num_;

};

